package com.kehutong.charge.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.sql.Timestamp;

/**
 * 企微群发封面图片管理
 * @author: jian Ye
 * @create: 2021/9/17
 **/
@Table(value="t_charge_urging_cover", comment="企微批量催费封面表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeUrgingCover extends DataEntity {

    protected ChargeUrgingCover(String id) {
        super(id);
    }


    @Column(comment = "封面图片素材ID")
    private String imageId;

    @Column(comment = "图片的企微media_id", length = 128)
    private String mediaId;

    @Column(comment = "media_id刷新时间")
    private Timestamp refresh;

    @Column(comment = "状态：0禁用，1启用")
    private boolean status;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;






    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public Timestamp getRefresh() {
        return refresh;
    }

    public void setRefresh(Timestamp refresh) {
        this.refresh = refresh;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
}
